const template=require("art-template");

template.defaults.imports.dateFormat=function(value){
    var d=new Date(value);
    var times=d.getFullYear()+'-'+(d.getMonth()+1)+'-'+d.getDate()+' '+d.getHours()+":"+d.getMinutes()+":"+d.getSeconds();
    return times
}